package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 控制动物身上的蓝牙设备亮灯对象
 +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "MonitorControlLightRequest对象", description = "控制动物身上的蓝牙设备亮灯对象")
public class MonitorControlLightRequest implements Serializable {

    private static final long serialVersionUID = 3362714265772774491L;

    @ApiModelProperty("监控设备license")
    @NotBlank(message = "监控设备不能为空")
    private String license;

    @ApiModelProperty("蓝牙设备mac地址(接收器)")
    @NotBlank(message = "蓝牙设备序号不能为空")
    private String deviceMac;

    @ApiModelProperty("当前订单收货人姓名")
    private String curOrderUser;

}
